package com.woniuxy.car.commodity.service.core.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Title: CommodityCommentDto
 * @ProjectName: car-life2
 * @Description: TODO
 * @Author: xiong
 * @Date: 2022/3/2 20:06
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("商品评价dto")
public class CommodityCommentDto {

    @ApiModelProperty("用户id")
    private Integer userId;

    @ApiModelProperty("评价内容")
    private String content;

    @ApiModelProperty("订单id")
    private Integer orderId;

    @ApiModelProperty("商品id")
    private Integer commodityId;

    @ApiModelProperty("评价星级")
    private Integer star;

    @ApiModelProperty("评价图片")
    private List<String> commentPics;

    @ApiModelProperty("评价标签")
    private List<String> commentTags;

    @ApiModelProperty("用户ip")
    private String userIp;
}
